﻿#if WITH_JIGLIBX



using Microsoft.Xna.Framework;

using Tomahawk.Resources.Physics;
using Tomahawk.Runtime.Physics.Interfaces;

namespace Tomahawk.Runtime.Physics.JigLibX
{
    public class PhysicsService : IPhysicsService
    {
        private Game game;

        #region Initialization
        public PhysicsService(Game game)
        {
            this.game = game;
        }
        #endregion

        #region Public Properties
        #endregion

        public virtual bool CreateScene(PhysicsSceneDesc sceneDesc, out IPhysicsScene physScene)
        {
            physScene = new PhysicsScene(sceneDesc);
            return (physScene != null);
        }
    }
}

#endif